﻿package com.game.module.gameTask
{
	import com.game.data.constant.ConfigConst;
	import com.game.module.gameTask.vo.TaskVO;
	
	public class GameTask
	{
		
		public function GameTask()
		{
			super();
			this.newAllTask();
		}
		
		private var dayTask:Array;
		private var actTask:Array;
		private var dtask1:TaskVO;
		private var dtask2:TaskVO;
		private var dtask3:TaskVO;
		private var dtask4:TaskVO;
		private var dtask5:TaskVO;
		private var dtask6:TaskVO;
		private var dtask7:TaskVO;
		private var dtask8:TaskVO;
		private var dtask9:TaskVO;
		private var dtask10:TaskVO;
		private var dtask11:TaskVO;
		private var dtask12:TaskVO;
		private var dtask13:TaskVO;
		private var dtask14:TaskVO;
		private var dtask15:TaskVO;
		private var dtask16:TaskVO;
		private var dtask17:TaskVO;
		private var dtask18:TaskVO;
		private var dtask19:TaskVO;
		private var dtask20:TaskVO;
		private var dtask21:TaskVO;
		private var dtask22:TaskVO;
		private var dtask23:TaskVO;
		private var dtask24:TaskVO;
		private var dtask25:TaskVO;
		private var dtask26:TaskVO;
		private var dtask27:TaskVO;
		private var dtask28:TaskVO;
		private var dtask29:TaskVO;
		private var dtask30:TaskVO;
		private var dtask31:TaskVO;
		private var dtask32:TaskVO;
		private var dtask33:TaskVO;
		private var dtask34:TaskVO;
		private var dtask35:TaskVO;
		private var dtask36:TaskVO;
		private var dtask37:TaskVO;
		private var dtask38:TaskVO;
		
		public function newAllTask():void
		{
			var _loc1_:int;
			this.dayTask = null;
			this.actTask = null;
			this.dayTask = [];
			this.actTask = [];
			this.dtask1 = new TaskVO(1, "袭天的妖怪1", "击杀黑龟50只！", [{
				"name"   : "黑龟",
				"mname"  : "Monster8",
				"neednum": 50,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "whgzzs",
				"cname": "尾火棍制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "lh",
				"value": "250",
				"cname": "灵魂"
			}]);
			this.dtask2 = new TaskVO(2, "袭天的妖怪2", "击杀黑虎50只！", [{
				"name"   : "黑虎",
				"mname"  : "Monster7",
				"neednum": 50,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "jmczzs",
				"cname": "角木铲制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "lh",
				"value": "250",
				"cname": "灵魂"
			}]);
			this.dtask3 = new TaskVO(3, "袭天的妖怪3", "击杀黑龟与巫鹰各25只！", [{
				"name"   : "黑龟",
				"mname"  : "Monster8",
				"neednum": 25,
				"curhas" : 0
			}, {
				"name"   : "巫鹰",
				"mname"  : "Monster3",
				"neednum": 25,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "bspzzs",
				"cname": "壁水袍制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "lh",
				"value": "250",
				"cname": "灵魂"
			}]);
			this.dtask4 = new TaskVO(4, "袭天的妖怪4", "击杀黑虎与巫鹰各25只！", [{
				"name"   : "黑虎",
				"mname"  : "Monster7",
				"neednum": 25,
				"curhas" : 0
			}, {
				"name"   : "巫鹰",
				"mname"  : "Monster3",
				"neednum": 25,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "dtkzzs",
				"cname": "氐土铠制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "lh",
				"value": "250",
				"cname": "灵魂"
			}]);
			this.dtask5 = new TaskVO(5, "反叛的天兵1", "击杀天兵(斧)与天兵(刀)各50只！", [{
				"name"   : "天兵(斧)",
				"mname"  : "Monster18",
				"neednum": 50,
				"curhas" : 0
			}, {
				"name"   : "天兵(刀)",
				"mname"  : "Monster9",
				"neednum": 50,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "wtpzzs",
				"cname": "胃土耙制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "600",
				"cname": "经验"
			}]);
			this.dtask6 = new TaskVO(6, "反叛的天兵2", "击杀天兵(棒)与天兵(枪)各50只！", [{
				"name"   : "天兵(棒)",
				"mname"  : "Monster17",
				"neednum": 50,
				"curhas" : 0
			}, {
				"name"   : "天兵(枪)",
				"mname"  : "Monster10",
				"neednum": 50,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "yhjzzs",
				"cname": "翼火甲制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "600",
				"cname": "经验"
			}]);
			this.dtask7 = new TaskVO(7, "反叛的天兵3", "击杀天兵(斧)与天兵(弓)各50只！", [{
				"name"   : "天兵(斧)",
				"mname"  : "Monster18",
				"neednum": 50,
				"curhas" : 0
			}, {
				"name"   : "天兵(弓)",
				"mname"  : "Monster19",
				"neednum": 50,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "jmyzzs",
				"cname": "井木衣制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "600",
				"cname": "经验"
			}]);
			this.dtask8 = new TaskVO(8, "梅山的余党1", "击杀牛妖与蛇妖各100只！", [{
				"name"   : "牛妖",
				"mname"  : "Monster1",
				"neednum": 100,
				"curhas" : 0
			}, {
				"name"   : "蛇妖",
				"mname"  : "Monster13",
				"neednum": 100,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "hljhzzs",
				"cname": "红莲教皇制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask9 = new TaskVO(9, "梅山的余党2", "击杀狗妖与蜈蚣精各100只！", [{
				"name"   : "狗妖",
				"mname"  : "Monster11",
				"neednum": 100,
				"curhas" : 0
			}, {
				"name"   : "蜈蚣精",
				"mname"  : "Monster14",
				"neednum": 100,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "wsjgzzs",
				"cname": "顽石金刚制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask10 = new TaskVO(10, "梅山的余党3", "击杀羊妖与蜈蚣精各100只！", [{
				"name"   : "羊妖",
				"mname"  : "Monster12",
				"neednum": 100,
				"curhas" : 0
			}, {
				"name"   : "蜈蚣精",
				"mname"  : "Monster14",
				"neednum": 100,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "ydjgzzs",
				"cname": "银弹金弓制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask11 = new TaskVO(11, "挑战心魔1", "战胜邪·沙僧7次！", [{
				"name"   : "邪·沙僧",
				"mname"  : "Monster32",
				"neednum": 7,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "lssp_1",
				"cname": "流石碎片1"
			}, {
				"type" : "dj",
				"value": "lssp_2",
				"cname": "流石碎片2"
			}, {
				"type" : "dj",
				"value": "lssp_3",
				"cname": "流石碎片3"
			}, {
				"type" : "lh",
				"value": "100000",
				"cname": "灵魂10w"
			}]);
			this.dtask12 = new TaskVO(12, "挑战心魔2", "战胜邪·八戒7次！", [{
				"name"   : "邪·八戒",
				"mname"  : "Monster33",
				"neednum": 7,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "lssp_2",
				"cname": "流石碎片2"
			}, {
				"type" : "dj",
				"value": "lssp_3",
				"cname": "流石碎片3"
			}, {
				"type" : "dj",
				"value": "lssp_4",
				"cname": "流石碎片4"
			}, {
				"type" : "lh",
				"value": "100000",
				"cname": "灵魂10w"
			}]);
			this.dtask13 = new TaskVO(13, "挑战心魔3", "战胜邪·唐僧7次！", [{
				"name"   : "邪·唐僧",
				"mname"  : "Monster31",
				"neednum": 7,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "lssp_5",
				"cname": "流石碎片5"
			}, {
				"type" : "dj",
				"value": "lssp_6",
				"cname": "流石碎片6"
			}, {
				"type" : "dj",
				"value": "lssp_7",
				"cname": "流石碎片7"
			}, {
				"type" : "lh",
				"value": "100000",
				"cname": "灵魂10w"
			}]);
			this.dtask14 = new TaskVO(14, "挑战心魔4", "战胜邪·悟空7次！", [{
				"name"   : "邪·悟空",
				"mname"  : "Monster34",
				"neednum": 7,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "lssp_8",
				"cname": "流石碎片8"
			}, {
				"type" : "dj",
				"value": "lssp_9",
				"cname": "流石碎片9"
			}, {
				"type" : "dj",
				"value": "lxzhs",
				"cname": "流邪转换石"
			}, {
				"type" : "lh",
				"value": "100000",
				"cname": "灵魂10w"
			}]);
			this.dtask15 = new TaskVO(15, "挑战心魔5", "战胜邪·后羿7次！", [{
				"name"   : "邪·后羿",
				"mname"  : "Monster172",
				"neednum": 7,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "lssp_8",
				"cname": "流石碎片8"
			}, {
				"type" : "dj",
				"value": "lssp_9",
				"cname": "流石碎片9"
			}, {
				"type" : "dj",
				"value": "lxzhs",
				"cname": "流邪转换石"
			}, {
				"type" : "dj",
				"value": "sxzhs",
				"cname": "沙邪转换石"
			}]);
			this.dtask16 = new TaskVO(16, "大闹凌霄", "战胜二郎神7次！", [{
				"name"   : "二郎神",
				"mname"  : "Monster22",
				"neednum": 7,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "wpflz",
				"cname": "风灵珠"
			}, {
				"type" : "lh",
				"value": "10000",
				"cname": "灵魂"
			}]);
			this.dtask17 = new TaskVO(17, "冲上宝塔1", "击杀10次土行孙！", [{
				"name"   : "土行孙",
				"mname"  : "Monster35",
				"neednum": 10,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "xltczzs",
				"cname": "天残制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask18 = new TaskVO(18, "冲上宝塔2", "击杀10次土行孙！", [{
				"name"   : "土行孙",
				"mname"  : "Monster35",
				"neednum": 10,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "xlyjzzs",
				"cname": "犹绝制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask19 = new TaskVO(19, "冲上宝塔3", "击杀5次雷震子！", [{
				"name"   : "雷震子",
				"mname"  : "Monster36",
				"neednum": 5,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "xlthzzs",
				"cname": "天荒制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask20 = new TaskVO(20, "冲上宝塔4", "击杀5次雷震子！", [{
				"name"   : "雷震子",
				"mname"  : "Monster36",
				"neednum": 5,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "xlryzzs",
				"cname": "如狱制作书"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask21 = new TaskVO(21, "冲上宝塔5", "击杀5次哪吒！", [{
				"name"   : "哪吒",
				"mname"  : "Monster38",
				"neednum": 5,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "rls",
				"cname": "熔炼石"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask22 = new TaskVO(22, "冲上宝塔6", "击杀5次李靖！", [{
				"name"   : "李靖",
				"mname"  : "Monster37",
				"neednum": 5,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "tss",
				"cname": "天枢石"
			}, {
				"type" : "dj",
				"value": "yhs",
				"cname": "玉衡石"
			}, {
				"type" : "bs",
				"value": "1",
				"cname": "宝石"
			}, {
				"type" : "exp",
				"value": "2000",
				"cname": "经验"
			}]);
			this.dtask23 = new TaskVO(23, "铲除凶兽", "在神兽森林击杀梼杌2次！", [{
				"name"   : "梼杌",
				"mname"  : "Monster47",
				"neednum": 2,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "wplvdyl",
				"cname": "龙女的眼泪"
			}]);
			this.dtask24 = new TaskVO(24, "勇闯兜率宫1", "在兜率宫击杀银角大王4次！", [{
				"name"   : "银角大王",
				"mname"  : "Monster53",
				"neednum": 4,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "wpdd",
				"cname": "毒丹"
			}]);
			this.dtask25 = new TaskVO(25, "勇闯兜率宫2", "在兜率宫击杀金角大王4次！", [{
				"name"   : "金角大王",
				"mname"  : "Monster54",
				"neednum": 4,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "qljzzs",
				"cname": "虬龙甲制作书"
			}, {
				"type" : "zzs",
				"value": "plpzzs",
				"cname": "蟠龙袍制作书"
			}, {
				"type" : "zzs",
				"value": "ylkzzs",
				"cname": "应龙凯制作书"
			}, {
				"type" : "zzs",
				"value": "jljzzs",
				"cname": "蛟龙甲制作书"
			}]);
			this.dtask26 = new TaskVO(26, "勇闯兜率宫3", "在兜率宫击杀青牛精4次！", [{
				"name"   : "青牛精",
				"mname"  : "Monster58",
				"neednum": 4,
				"curhas" : 0
			}], [{
				"type" : "zzs",
				"value": "qlgzzs",
				"cname": "虬龙棍制作书"
			}, {
				"type" : "zzs",
				"value": "plzzzs",
				"cname": "蟠龙杖制作书"
			}, {
				"type" : "zzs",
				"value": "ylfzzs",
				"cname": "应龙斧制作书"
			}, {
				"type" : "zzs",
				"value": "jlczzs",
				"cname": "蛟龙铲制作书"
			}]);
			this.dtask27 = new TaskVO(27, "勇闯兜率宫4", "在兜率宫击杀太白金星4次！", [{
				"name"   : "太白金星",
				"mname"  : "Monster64",
				"neednum": 4,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "lysjns2",
				"cname": "烈焰闪技能书"
			}, {
				"type" : "dj",
				"value": "tjgljns2",
				"cname": "天降甘露技能书"
			}, {
				"type" : "dj",
				"value": "jspjns2",
				"cname": "巨石破技能书"
			}, {
				"type" : "dj",
				"value": "mbyjjns2",
				"cname": "麻痹药剂技能书"
			}]);
			this.dtask28 = new TaskVO(28, "勇闯兜率宫5", "在兜率宫击杀太上老君4次！", [{
				"name"   : "太上老君",
				"mname"  : "Monster65",
				"neednum": 4,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "hmzjns2",
				"cname": "火魔斩技能书"
			}, {
				"type" : "dj",
				"value": "smbjns2",
				"cname": "水魔爆技能书"
			}, {
				"type" : "dj",
				"value": "tmcjns2",
				"cname": "土魔刺技能书"
			}, {
				"type" : "dj",
				"value": "mmwjns2",
				"cname": "木魔舞剂技能书"
			}]);
			this.dtask29 = new TaskVO(29, "九龙汇元", "在九龙岛击杀1次高友乾", [{
				"name"   : "花豹圣者",
				"mname"  : "Monster118",
				"neednum": 1,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly4",
				"cname": "4级昆仑玉"
			}]);
			this.dtask30 = new TaskVO(30, "兽藏龙脊", "在龙脊山击杀1次杨森", [{
				"name"   : "狻猊圣者",
				"mname"  : "Monster120",
				"neednum": 1,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly4",
				"cname": "4级昆仑玉"
			}]);
			this.dtask31 = new TaskVO(31, "匿隐尾妖", "在尾妖林击杀1次王魔", [{
				"name"   : "狴犴圣者",
				"mname"  : "Monster125",
				"neednum": 1,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly4",
				"cname": "4级昆仑玉"
			}]);
			this.dtask32 = new TaskVO(32, "仙音渺渺", "在仙音岛击杀1次碧霄", [{
				"name"   : "碧霄",
				"mname"  : "Monster131",
				"neednum": 1,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly5",
				"cname": "5级昆仑玉"
			}]);
			this.dtask33 = new TaskVO(33, "仙幻扑朔", "在仙幻岛击杀1次琼霄", [{
				"name"   : "琼霄",
				"mname"  : "Monster135",
				"neednum": 1,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly5",
				"cname": "5级昆仑玉"
			}]);
			this.dtask34 = new TaskVO(34, "仙树万丈", "在仙树岛击杀1次云霄", [{
				"name"   : "云霄",
				"mname"  : "Monster139",
				"neednum": 1,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly5",
				"cname": "5级昆仑玉"
			}]);
			this.dtask35 = new TaskVO(35, "寒暑易节", "在寒暑水击杀5次毗摩智多罗", [{
				"name"   : "毗摩智多罗",
				"mname"  : "Monster1008",
				"neednum": 5,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly5",
				"cname": "5级昆仑玉"
			}]);
			this.dtask36 = new TaskVO(36, "镬汤地狱", "在火龙岛击杀5次罗宣", [{
				"name"   : "罗宣",
				"mname"  : "Monster111",
				"neednum": 5,
				"curhas" : 0
			}], [{
				"type" : "roomhorse",
				"value": "1",
				"cname": "炎马"
			}]);
			this.dtask37 = new TaskVO(37, "玉石俱焚·壹", "击败1000只飞鹰", [{
				"name"   : "飞鹰",
				"mname"  : "Monster30",
				"neednum": 1000,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly4",
				"cname": "4级昆仑玉"
			}]);
			this.dtask38 = new TaskVO(38, "玉石俱焚·贰", "击败1000只飞鹰", [{
				"name"   : "飞鹰",
				"mname"  : "Monster30",
				"neednum": 1000,
				"curhas" : 0
			}], [{
				"type" : "dj",
				"value": "kly5",
				"cname": "5级昆仑玉"
			}]);
			_loc1_ = 0;
			while (_loc1_ < 99)
			{
				try
				{
					this.dayTask.push(this["dtask" + (_loc1_ + 1)]);
				} catch (e:Error)
				{
					break;
				}
				_loc1_++;
			}
			var atask1:TaskVO = new TaskVO(101, "参悟阴阳", "拥有法宝：太极八卦", [], [{
				"type" : "dj",
				"value": "kly5",
				"cname": "5级昆仑玉"
			}]);
			var atask2:TaskVO = new TaskVO(102, "我不入地狱", "存活在最后的魔，做了救世主!", [], [{
				"type" : "dj",
				"value": "yxqyzstx",
				"cname": "七曜战神头衔"
			}]);
			var atask3:TaskVO = new TaskVO(103, "天庭守护者", "通关天庭主线关卡", [], [{
				"type" : "exp",
				"value": "4000",
				"cname": "4k经验"
			}, {
				"type" : "lh",
				"value": "50000",
				"cname": "5w灵魂"
			}]);
			var atask4:TaskVO = new TaskVO(104, "截教使者", "通关截教天境", [], [{
				"type" : "dj",
				"value": "yxqyzstx",
				"cname": "七曜战神头衔"
			}]);
			if (ConfigConst.GAME_VERSION_ID < 0.9)
			{
				return;
			}
			this.actTask.push(atask1, atask2, atask3, atask4);
		}
		
		public function getTaskByTaskName():TaskVO
		{
			return null;
		}
		
		public function hasReciveTaskByName():Boolean
		{
			return false;
		}
		
		public function getdayTask():Array
		{
			return this.dayTask;
		}
		
		public function getactTask():Array
		{
			return this.actTask;
		}
		
		public function killMonster(param1:String):void
		{
			var _loc2_:uint = this.dayTask.length;
			var _loc3_:int = 0;
			while (_loc3_ < _loc2_)
			{
				if (this.dayTask[_loc3_].judgeNeed(param1))
				{
				}
				_loc3_++;
			}
			var _loc4_:uint = this.actTask.length;
			var _loc5_:int = 0;
			while (_loc5_ < _loc4_)
			{
				if (this.actTask[_loc5_].judgeNeed(param1))
				{
				}
				_loc5_++;
			}
		}
		
		public function saveAllTask():String
		{
			var _loc1_:* = "";
			var _loc2_:uint = this.dayTask.length;
			while (_loc2_-- > 0)
			{
				_loc1_ += TaskVO(this.dayTask[_loc2_]).getSave();
				if (_loc2_ != 0)
				{
					_loc1_ += "}";
				}
			}
			return _loc1_;
		}
		
		public function saveActionTask():String
		{
			var _loc1_:* = "";
			var _loc2_:uint = this.actTask.length;
			while (_loc2_-- > 0)
			{
				_loc1_ += TaskVO(this.actTask[_loc2_]).getSave();
				if (_loc2_ != 0)
				{
					_loc1_ += "}";
				}
			}
			return _loc1_;
		}
		
		public function setAllTask(param1:String):void
		{
			var _loc2_:* = 0;
			var _loc3_:Array = param1.split("}");
			var _loc4_:uint = _loc3_.length;
			while (_loc4_-- > 0)
			{
				_loc2_ = uint(this.dayTask.length);
				while (_loc2_-- > 0)
				{
					if (TaskVO(this.dayTask[_loc2_]).setSave(_loc3_[_loc4_]))
					{
						break;
					}
				}
			}
		}
		
		public function setActTask(param1:String):void
		{
			var _loc2_:* = 0;
			var _loc3_:Array = param1.split("}");
			var _loc4_:uint = _loc3_.length;
			while (_loc4_-- > 0)
			{
				_loc2_ = uint(this.actTask.length);
				while (_loc2_-- > 0)
				{
					if (TaskVO(this.actTask[_loc2_]).setSave(_loc3_[_loc4_]))
					{
						break;
					}
				}
			}
		}
	}
}
